{% load media %}{% load controls %}
{% extends "admin_users.html" %}

{% block content %}
    <div class="fieldset">
    	<h1>Nuovo utente</h1>
        <form method="post">
            {% for field in form %}
                <div class="form-row">
                    {% if field.errors %}<div class="form_error">{{ field.errors }}</div>{% endif %}
                    <label>{{ field.label }}</label>
                    <div>{{ field }}</div>
                    {% if field.help_text %}<div>{{ field.help_text }}</div>{% endif %}
                </div>
            {% endfor %}
            
            <div class="form-row"><input type="submit" value="Invia"></div>
        </form>
    </div>
{% endblock %}
